package cuit.game.dao;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;


import cuit.game.entity.Team;

public interface TeamRespository extends JpaRepository<Team, Long> {

	Page<Team> findByContent(String content, Pageable pageable);

	List<Team> findByTeamnameLike(String teamname);


    List<Team> findByContestId(long contestId);
}
